/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.platform.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 平台建设Entity
 * @author hang
 * @version 2017-01-14
 */
public class TbPlatformConstruction extends DataEntity<TbPlatformConstruction> {
	
	private static final long serialVersionUID = 1L;
	private String platformKinds;		// 平台类别
	private String platformName;		// 平台名称
	private String approvalDepartment;		// 批准部门
	private String approvalTime;		// 批准年月
	private String remark;		// 备注
	private String material;		// 证明材料
	
	public TbPlatformConstruction() {
		super();
	}

	public TbPlatformConstruction(String id){
		super(id);
	}

	@Length(min=0, max=20, message="平台类别长度必须介于 0 和 20 之间")
	public String getPlatformKinds() {
		return platformKinds;
	}

	public void setPlatformKinds(String platformKinds) {
		this.platformKinds = platformKinds;
	}
	
	@Length(min=0, max=50, message="平台名称长度必须介于 0 和 50 之间")
	public String getPlatformName() {
		return platformName;
	}

	public void setPlatformName(String platformName) {
		this.platformName = platformName;
	}
	
	@Length(min=0, max=50, message="批准部门长度必须介于 0 和 50 之间")
	public String getApprovalDepartment() {
		return approvalDepartment;
	}

	public void setApprovalDepartment(String approvalDepartment) {
		this.approvalDepartment = approvalDepartment;
	}
	
	@Length(min=0, max=50, message="批准年月长度必须介于 0 和 50 之间")
	public String getApprovalTime() {
		return approvalTime;
	}

	public void setApprovalTime(String approvalTime) {
		this.approvalTime = approvalTime;
	}
	
	@Length(min=0, max=200, message="备注长度必须介于 0 和 200 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Length(min=0, max=200, message="证明材料长度必须介于 0 和 200 之间")
	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}
	
}